//
//  BCGlobalHeaders.h
//  BananaChat
//
//  Created by 于洪东 on 2019/11/1.
//  Copyright © 2019 香蕉. All rights reserved.
//

#ifndef BCGlobalHeaders_h
#define BCGlobalHeaders_h


#define SCREEN_HEIGHT       [UIScreen mainScreen].bounds.size.height
#define SCREEN_WIDTH        [UIScreen mainScreen].bounds.size.width
#define ScaleX   SCREEN_WIDTH/375

#define TARGET_IPHONE_X           [BCTools isPhoneX]
#define NAV_BAR_HEIGHT            (TARGET_IPHONE_X ? 88 : 64)
#define STATUS_BAR_HEIGHT         (TARGET_IPHONE_X ? 44 : 20)
#define STATUS_BAR_TOP_MARGIN     (TARGET_IPHONE_X ? 24 : 0)
#define TOP_ESTIMATED_MARGIN      (TARGET_IPHONE_X ? 30 : 0)
#define STATUS_BAR_HEIGHT_ONLY_X  (TARGET_IPHONE_X ? 44 : 0)
#define TAB_BAR_HEIGHT            (TARGET_IPHONE_X ? 83 : 49)
#define TAB_BAR_BOTTOM_MARGIN     (TARGET_IPHONE_X ? 34 : 0)



#if DEBUG
#define LRString [NSString stringWithFormat:@"%s", __FILE__].lastPathComponent
#define DEF_DEBUG(...) printf(" %s(%d): %s\n\n", [LRString UTF8String] ,__LINE__, [[NSString stringWithFormat:__VA_ARGS__] UTF8String]);
#else
#define DEF_DEBUG(...) do {} while (0)
#endif



// 主色调
#define NTMainColor   [UIColor colorWithHexString:@"#FF8100"]
// 黑色
#define NTBlackColor  [UIColor colorWithHexString:@"#000000"]
// 白色
#define NTWhiteColor  [UIColor colorWithHexString:@"#ffffff"]
// 深灰色
#define NTDarkGrayColor  [UIColor colorWithHexString:@"#6C6C6C"]
// 浅灰色
#define NTLightGrayColor  [UIColor colorWithHexString:@"#ADADAD"]
// 背景色
#define NTBackGroundColor  [UIColor colorWithHexString:@"#EBEBEB"]
// 线条的颜色
#define NTLineColor [UIColor colorWithHexString:@"#F0F0F0"]



#endif /* BCGlobalHeaders_h */
